let api = {}
async function determineDate(key){
    let data = await require(`${key}`)
    console.log(data.default)
    let datas = data.default
    let text = Object.assign(api,datas)
    api = {...text}
}
let r = require.context('./',true,/\.api.js/)
r.keys().forEach(key => {
    determineDate(key)
});
console.log(api)

export default api


